﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RandomTest
{
    class Program
    {
        static void Main(string[] args)
        {

            for (int i = 5; i >= 0; i--)
            {
                Console.WriteLine(RandomString());
                Console.ReadLine();
            }

                Console.ReadLine();
        }

        private static string RandomString()
        {
            Random rdm = new Random((int)DateTime.Now.Ticks);
            int index;
            string str = "";
            for (int i = 51; i > -1; i--)
            {
                index = rdm.Next(0, i + 1);
                str += index + " ";
            }
            return str;
        }
    }
}
